refactored ObjectArena class