better recipe for operating modes