a small refactor to be sbt compliant