added default values to inputs