enum replacement