added debug true
enabled printing of topics