added get string routine