change string retrieval method