integration code