building view and validations