emulating java collections library, only arraylist works currently