Working matrix project code