added reader class