base matrix usage and some raw utils file