Content Search: removing duplicate function