added unique ids to the main objects