removed nested attributes as not sure that is correct