fixed adding collision detection to each class to make it compile