trying to get animation working right