Ill-fated example code for Scala paly