mode argument should be action