theArray  = costArray reworked and new Activity for results