added default {} for data