Added some mouse functionality