const and inheritance
global mouse events