adding mouse events