added Mat reuse