ball's check collision was added