offset accepts an array