made compatible with sbt