add task class variable