change required_with_parent to {parent} - can now be used in much more versatile fashion