added label search functionality