added topic functionality
added topic functionality