added basic mouse functions for demo