broke it adding collision detection to each individual class