removed unnecessary typedef from enum