Step towards cleaning up checkForNewPosts()