adding the codes