added template code for integration to work on