add mouse function