Working example. Lots of redundant debuging info