correct use of key/value for required items