done without states and animations