working on obstacles and animating them