Impelemented retrieving posts based on stats