added basic revisions, various validations