mva changes for using discrete input variables