Adding Decembers code

Adding code from late December to early new year (4/1/2013)