s4: use enums instead of strings it's cheaper