all nested attributes and associations between models was done