added limit params, fixes #17