swapped to my code, animation (kind of) working