implemented interface for key bindings