my $load_task = ref($task) eq 'ARRAY' && $load eq 'bed clothes' ? $task->[1] : ref($task) eq 'ARRAY' && $load ne 'bed clothes' ? $task->[0] : $task ;