offset now works