setup worker layer