Tried alot of things with automata, didnt work out... :(