added default values for types