add parseTopic and test