added validation support to wizard