extract indexed reader using lambda