                 break
             }
         }
-        
+        //which array shall we send back?
         switch goalType {
         case GoalType.BudgetGoal:
             onCompletion(true, serverMessage, serverCode, budgetGoals, nil)

            onCompletion(true, serverMessage, serverCode, noGoGoals, nil)
        }
    }

    func getGoalTimeZoneGoals(onCompletion: APIGoalArrayResponse) {
    }
    /**
     Check if there is an active network connection for the device
     

    }
    
    private func sortGoalsIntoArray(goalType: GoalType, onCompletion: APIGoalArrayResponse){
        //sort out the goals into their arrays
        for goal in goals {
            switch goal.goalType! {
            case goalType.rawValue:
