scala related stuff