two step object creation