Sam's code for 12/9/14