validation, other stuff