added the mouse hook