made the task status publisher a pointer