change to anonymous enum