added limit/offset to another createUrl implementaion