snapshot of code before doing it Princeton style