For CSC 532 project