change the b"ANY" logical constructs to Enum, add meta info