change main object creation