limit now useful

the limit variable was not being used, which was foolish on my part.