Code for Peek & Menard 2013