scala stuff