Main.scala now works