this works but without the final bit of animation that I want to get right