#31 refactored tasks tot use broadcasting to make it easier to test