testing prompt and string func