initial attempt at master/worker