make boolean read() public