switch optimist for minimist