added default for data

added default for data