staging modes are now defined in an enum. fixed.