Hi Karen,

Instead of doing ifs with returns, it'd be better to do something like this in Scala:

    if (running) {
      "RUNNING"
    } else if (failed) {
      "FAILED"
    } else if (...) {
      ...
    } else {
      "UNKNOWN"
    }