added default value for res body