both scaffolds with validations