modified the directory structure and added matrix