added function to lookup string