now offset() supports strings and integers