new mat_libs