CS144 lab3 clone