added tfn from my pastebin at http://pastebin.com/r7KBZFX4
added warning about code quality