accept array notation for offset option