successfully calls, and passes mats to, the native function