trying to add mouse functionality