minor changes to toString method in Task