private service getNextService()
  {
    int startTime = 1500;
    int index=0;
    for(int i=0; i<todayServices.length; i++)
    {
      if(todayServices[i].starttime < startTime && !todayServices[i].used)
      {
        index = i;
	startTime = todayServices[i].starttime;
      }
    }
    todayServices[index].used = true;

    return todayServices[index];
  }