Added stride and offset params