extend model and reader