A bit untidy but I´m working on it