would it be better for this to take a `boolean defaultValue` ?