method data copied on task class