Update 1a.scala