Added self to def do work(self,args)