changed from web to worker type