source code from the talk I gave at Warsaw Java Users Group