added booleanOptions helper function