accepts nested attributes for requirements