Udpated Exp.scala