updated cep18 with datastructure implementation