Tuan's CPSC 2740 repo