refactor string and dict