More work experimenting with offset
Finished limit/offset logic, functional