add getdata and setdata in classes