public int GetTotalPassangersTransported()
    {
        //copy the amount transported
        int tmp=totalPassengersTransported;
        //holds the running total
        accumulatedPassangers += totalPassengersTransported;
        //reset total passangers transported
        totalPassengersTransported = 0;
        
        return tmp;
    }