Now have control cost in thread