still debugging.
improvement when reading data.