stable version before the cached slab implementation