integration function skeleton added