get data and more test code