build all the codes