basic scala support