CS 240 project