refactor to move string to resource file