Created for cs 5610 project