updated for mouse bindings