Why replace the enum with this?