add method to MouseEvent