setID() method chaned