quick borking of some tonic example code