version 2 of shared worker