debugging reading