passing in limit option to server