set defaults for no-argument and one-argument case