added comment to readData