fixed the make_enum method and placed it in the correct class