improved performance and now there is a limit on the amount of posts generated