confirmed adding a new task still works as expected after refactor