class reader