Removed unnecessary code and switched to the topics used in backtrack