Added functionality to get searched building names