creation and initialization of objects in form