Validation of various parameters