Meagle

and a lot of debugging, I make a lot of mistakes