Added two versions of objects.py