added memory pool