Added pushObstacles method