Added example code from H. Baker's paper