beginnings of validations, and some other junk