added has_scope gemm