added simple key-handler-directive