code book 1st pass