Outline of how validation might work
First validator function
Updated with more validators