validation and dessicion maker