add Collision Detection