added class for collision detection(not implemented yet)