added mouse movement and stuff