project2 for CS369