reader class amended