added StackAllocator