Oops, formatting broken, more real-life example:
http://dpaste.dzfl.pl/90601195