refactoring ambiguous task array name