changed offset parameters