Added visa and passport format check to decide()