some scala niceness in examples