- added worker initialization method