collision detection is starting to work