Setting Up Code Book