renamed vars property to data