shorten assignments of default values