Adding integration codes