Integration of all the codes