code update - integration methods reviewed and tested