broke up Main.scala