add inputTask in IndexAction