added prototypes for mempools