mouse and keyboard interaction - version 04