added suport for plain offset api