Simplify using create_resources.
Add a comment and validate_string statements.