dummy allocator working