Implemnts Worker process