setLimit not working, this does
Code formatting