renamed readBoolean