add some code in Worker