added read helper for boolean values