add number attribute to Task class