basic scala stuff