prep work from pine's "learn to program"