adding task switching from Haukes repo