public boolean Increment()
    {
        //set the status flag of onboarding a passenger
        boolean status = false;
        
        //ensure passangers onboard is within the bus capacity
        if ((passengersOnBoard + 1) <= busCapacity)
        {
            
            //increment passenger onboard
            passengersOnBoard += 1;
            
            //set the status flag for the boarding of a passanger
            status = true;
        }
        
        //return the status of onboardinng a passenger
        return status;
    }