Tried to improve hitting obstacles, failed :(