work towards ball animation