First compile of Pete's code