added getData ()