fixed up some of my code.  from yesterday