initial code for key values