I would say you can pass the mode (as enum) and handle this in the code underneath