fixed cost bug.  should be working 100% now.