added notes, created code validator.