added validation for pass