Added default values instead of checks.
Added default value instead of if check.