public int destinationNum()
    {
        if (locationEnd == null || locationEnd.length == 0)
        {
            return 0;
        } else
        {
            return locationEnd.length;
        }
    }