add info about key function