add function to create matrix
rename file