this is a messy mix of stuff from the CND paper edit and ME 454 summer 2013