added function to test data size - untested