add task factorial