added tgnet
minor reformatting