adding support for mouse