not the getdata function's fault