Nick O: Added a new interface allowing control of limit and offset