add string to enum method to right classes