Limit, offset, and function renaming

Solved #7, #6.