[FYR] scala rewrite