define dictionary protocol