added revoke to worker