initial code book - needs to be finished