Moved the constants back to worker