cs247 project 2