new method to initialise nested_attributes