initialising the nested_attributes variables