updated code book - needs to be finished