Mostly done validator

Need to change color and error message, but works