changed the objects into a list instead of a dictionary, hopefully that fixes the self is None problem