only use ScalaVertex where necessary