community search funciton added