data is now read correctly with readAll