removed scheduler and added worker