parameterizing uniform matrix flag