trying buffered read