improved perfomance when reading multiple rows