final cleanup to get things back in working order. Need to fully int. algorithms tomorrow.