- main function complete
- stubbed out validation functions in the replacer