you can solve this with other data structures that are part of shogun, like ```DynamicObjectArray```