added classes for mouse listening