Prepared code for final turn-in