add validation for new job