pass in trail instead of task name