Got basics of integration working