added enum type for data process