Debugging version of Project 2