Updated core.scala, removed extra line