add work mode and work mode flipped