Added collider class. Trying to fix code.