support sequence and byte offset