added limit back in

I added limit back in. For the project that i made this for it doesnt need limit but other people wanted it.