fixed earlier bug, added ObjectID class