removed dead function getData()