add collision detection for mines