validations and simple for scaffolding