switched to using ObjectId because it is more efficient that using UUID