added limit option in order to prevent downloading tons of data