replace Keyboard calls