better string storing data structure answer