Added worker instance creation but buggy