ridiculous coder validation and refactor

good lord