code: def performAction(self, action):
          
          self.t += 1
          super(ProfitTask, self).performAction(int(action[0]))
          self.samples += 1
docs: The action vector is stripped and the only element is cast to
              integer and given to the super class.