refinements to animation code - just need to add interpolation code (I think)2