enum was unnecessary