add offset to demo