change enum privat to public