dealing with scala crap