getting completing tasks and history working