Added collision detection!