integrating code