add search topic code