changed creating objects without new