add offset in simulation