adding initial integration code