add both modes