added options for offsets