$timeArr is not declared in ExchangeWebServices