changed creating objects, not with new