Switching task for calculations