transmission GMC TERRAIN 2021 Owner's Guide
[x] Cancel search | Manufacturer: GMC, Model Year: 2021, Model line: TERRAIN, Model: GMC TERRAIN 2021Pages: 377, PDF Size: 9.13 MB
Page 213 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
212 Driving and Operating
Automatic Engine Grade Braking
Automatic Engine Grade Braking assists
when driving downhill. It maintains vehicle
speed by automatically implementing a shift
pattern that uses the engine and the
transmission to slow the vehicle. The system
will automatically command downshifts to
reduce vehicle speed. The normal shift
pattern will return once the vehicle is on a
low grade or when the accelerator pedal is
pressed.
While in the Electronic Range Select (ERS)
mode, grade braking is deactivated, allowing
the driver to select a range and limiting the
highest gear available. Grade braking is
available for normal driving and in Tow/
Haul Mode.
SeeAutomatic Transmission 0208.
Drive Systems
All-Wheel Drive
For information on All-Wheel Drive (AWD),
see Driver Mode Control 0218.
Brakes
Antilock Brake System (ABS)
The Antilock Brake System (ABS) helps
prevent a braking skid and maintain steering
while braking hard.
ABS performs a system check when the
vehicle is first driven. A momentary motor
or clicking noise may be heard while this
test is going on, and the brake pedal may
move slightly. This is normal.
If there is a problem with ABS, this warning
light stays on. See Antilock Brake System
(ABS) Warning Light 096.
ABS does not change the time needed to
get a foot on the brake pedal and does not
always decrease stopping distance. If you
get too close to the vehicle ahead, there will
not be enough time to apply the brakes if
that vehicle suddenly slows or stops. Always
leave enough room ahead to stop, even
with ABS.
Using ABS
Do not pump the brakes. Just hold the brake
pedal down firmly. Hearing or feeling ABS
operate is normal.
Braking in Emergencies
ABS allows steering and braking at the same
time. In many emergencies, steering can
help even more than braking.
Electric Parking Brake
The Electric Parking Brake (EPB) can always
be applied, even if the vehicle is off. In case
of insufficient electrical power, the EPB
Page 220 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
Driving and Operating 219
If the vehicle is in Tour (FWD) or AWD, it
will stay in that mode through future
ignition cycles. If the vehicle is in any other
mode, it will revert back to Tour (FWD)
when the vehicle is restarted.
4AWD Mode :AWD Mode provides drive
torque to all four wheels. Select AWD to
improve traction and control on slippery
road surfaces, such as gravel, sand, wet
pavement, snow, and ice. When selecting
AWD Mode, the AWD light will flash briefly
while the system is engaging and then stay
on to indicate AWD is active. AWD is active
in Tow/Haul and Off-Road Modes. AWD
Mode is only available on vehicles equipped
with AWD.
When using a compact spare tire on an
AWD vehicle, the system automatically
detects the compact spare and reduces AWD
performance to protect the system. To
restore full AWD operation and prevent
excessive wear on the system, replace the
compact spare tire with a full-size tire as
soon as possible. See Compact Spare Tire
0 315.
6Snow Mode : Snow Mode improves
vehicle acceleration on snow and ice-covered
roads. Snow Mode is not available on
vehicles equipped with AWD.
7Off-Road Mode : Use Off-Road Mode for
public off-road recreational driving. See
Off-Road Driving 0190. Off-Road Mode is
only available on vehicles equipped
with AWD.
_Tow/Haul Mode : Tow/Haul Mode can
assist when towing or hauling a heavy load.
It changes transmission shift patterns, turns
on AWD, if equipped, and increases trailer
sway control assistance. See Driving
Characteristics and Towing Tips 0249. Tow/
Haul Mode is only available on vehicles with
the towing package. Automatic Engine Grade Braking
Automatic Engine Grade Braking assists
when driving downhill. It maintains vehicle
speed by automatically implementing a shift
pattern that uses the engine and the
transmission to slow the vehicle. The system
will automatically command downshifts to
reduce vehicle speed. The normal shift
pattern will return once the vehicle is on a
low grade or when the accelerator pedal is
pressed.
While in the Electronic Range Select (ERS)
Mode, grade braking is deactivated, allowing
a range to be selected and limiting the
highest gear available. Grade braking is
available for normal driving and in Tow/Haul
Mode. See
Manual Mode 0211.
Page 221 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
220 Driving and Operating
Mode Name In Cluster Menu:TourAWD Snow Off-Road Tow/Haul
Mode Availability AWD & FWD AWD FWD AWD Towing Package
(AWD & FWD)
Retained Across Ignition Cycles YesYesNoNo No
Pedal Map Normal Normal Off-Road Off-Road Normal
Auto Transmission Schedule Normal Normal Normal Normal Tow/Haul
AWD (If Equipped) Normal FWD Normal AWD NA Off-Road AWD Normal AWD
Steering Normal Normal Normal Normal Tow/Haul
Trailer Sway Control Normal Normal Normal Normal Tow/Haul
StabiliTrak Setting Normal Normal Normal Off-Road Normal
Traction Control Setting Normal Normal Normal Off-Road Normal
Cruise Control
The cruise control lets the vehicle maintain a
speed of about 40 km/h (25 mph) or more
without keeping your foot on the
accelerator. Cruise control does not work at
speeds below 40 km/h (25 mph).
{Warning
Cruise control can be dangerous where
you cannot drive safely at a steady
speed. Do not use cruise control on
winding roads or in heavy traffic.
Cruise control can be dangerous on
slippery roads. On such roads, fast
changes in tire traction can cause
(Continued)
Warning (Continued)
excessive wheel slip, and you could lose
control. Do not use cruise control on
slippery roads.
With the Traction Control System (TCS) or
StabiliTrak/Electronic Stability Control (ESC),
the system may begin to limit wheel spin
while you are using cruise control. If this
happens, the cruise control will
Page 223 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
222 Driving and Operating
The speedometer reading can be displayed
in either English or metric units.
SeeInstrument Cluster (Base and Midlevel)
0 85 or
Instrument Cluster (Uplevel) 088. The
increment value used depends on the units
displayed.
Reducing Speed While Using Cruise Control
If the cruise control system is already
activated:
.Press and hold –SET until the desired
lower speed is reached, then release it.
.To slow down in small increments, briefly
press –SET. For each press, the vehicle
goes about 1 km/h (1 mph) slower.
The speedometer reading can be displayed
in either English or metric units.
See Instrument Cluster (Base and Midlevel)
0 85 or
Instrument Cluster (Uplevel) 088. The
increment value used depends on the units
displayed.
Passing Another Vehicle While Using Cruise
Control
Use the accelerator pedal to increase the
vehicle speed. When you take your foot off
the pedal, the vehicle will slow down to the
previous set cruise speed. While pressing the accelerator pedal or shortly following the
release to override cruise control, briefly
pressing
–SET will result in cruise control set
to the current vehicle speed.
Using Cruise Control on Hills
How well the cruise control works on hills
depends upon the vehicle speed, load, and
the steepness of the hills. When going up
steep hills, you might have to step on the
accelerator pedal to maintain the vehicle
speed. When going downhill, you might
have to brake or shift to a lower gear to
keep your speed down. If the brake pedal is
applied, cruise control will disengage.
Ending Cruise Control
There are four ways to end cruise control:
.Step lightly on the brake pedal.
.Press*.
.Shift the transmission to N (Neutral).
.To turn off cruise control, press5.
Erasing Speed Memory
The cruise control set speed is erased from
memory if
5is pressed or if the ignition is
turned off.
Adaptive Cruise Control (Camera)
If equipped, Adaptive Cruise Control (ACC)
allows the cruise control set speed and
following gap to be selected. Read this
entire section before using this system. The
following gap is the following time between
your vehicle and a vehicle detected directly
ahead in your path, moving in the same
direction. If no vehicle is detected in your
path, ACC works like regular cruise control.
ACC uses a windshield mounted front
camera sensor.
If a vehicle is detected in your path, ACC can
apply acceleration or limited, moderate
braking to maintain the selected following
gap. To disengage ACC, apply the brake.
If ACC is controlling the vehicle speed when
the Traction Control System (TCS) or
StabiliTrak/Electronic Stability Control (ESC)
system activates, ACC may automatically
disengage. See Traction Control/Electronic
Stability Control 0214. When road
conditions allow ACC to be safely used, ACC
can be turned back on.
Disabling the TCS or StabiliTrak/ESC system
will disengage and prevent engagement
of ACC.
Page 250 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
Driving and Operating 249
Driving Characteristics and
Towing Tips
{Warning
You can lose control when towing a
trailer if the correct equipment is not
used or the vehicle is not driven properly.
For example, if the trailer is too heavy or
the trailer brakes are inadequate for the
load, the vehicle may not stop as
expected. You and others could be
seriously injured. The vehicle may also be
damaged, and the repairs would not be
covered by the vehicle warranty. Pull a
trailer only if all the steps in this section
have been followed. Ask your dealer for
advice and information about towing a
trailer with the vehicle.
Driving with a Trailer
Trailering is different than just driving the
vehicle by itself. Trailering means changes in
handling, acceleration, braking, durability,
and fuel economy. Successful, safe trailering
takes correct equipment, and it has to be
used properly.The following information has many
time-tested, important trailering tips and
safety rules. Many of these are important
for your safety and that of your passengers.
Read this section carefully before pulling a
trailer.
When towing a trailer:
.Become familiar with and follow all state
and local laws that apply to trailer
towing. These requirements vary from
state to state.
.State laws may require the use of
extended side view mirrors. Even if not
required, you should install extended side
view mirrors if your visibility is limited or
restricted while towing.
.Do not tow a trailer during the first
800 km (500 mi) of vehicle use to prevent
damage to the engine, axle, or other
parts.
.It is recommended to perform the first oil
change before heavy towing.
.During the first 800 km (500 mi) of trailer
towing, do not drive over 80 km/h
(50 mph) and do not make starts at full
throttle.
.Vehicles can tow in D (Drive). If the
transmission downshifts too often, a
lower gear may be selected using Manual
Mode See
Manual Mode 0211.
If equipped, the following driver assistance
features should be turned off when towing
a trailer:
.Adaptive Cruise Control (ACC)
.Super Cruise Control
.Lane Keep Assist (LKA)
.Park Assist
.Automatic Parking Assist (APA)
.Reverse Automatic Braking (RAB)
If equipped, the following driver assistance
features should be turned to alert or off
when towing a trailer:
.Automatic Emergency Braking (AEB)
.Intelligent Brake Assist (IBA)
.Front Pedestrian Braking (FPB)
If equipped with Lane Change Alert (LCA),
the LCA detection zones that extend back
from the side of the vehicle do not move
further back when a trailer is towed. Use
caution while changing lanes when towing a
trailer.
Page 252 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
Driving and Operating 251
Make wider turns than normal when towing,
so trailer will not go over soft shoulders,
over curbs, or strike road signs, trees,
or other objects. Always signal turns well in
advance. Do not steer or brake suddenly.
Driving on Grades
Reduce speed and shift to a lower gear
before starting down a long or steep
downhill grade. If the transmission is not
shifted down, the brakes may overheat and
result in reduced braking efficiency.
The vehicle can tow in D (Drive). Shift the
transmission to a lower gear if the
transmission shifts too often under heavy
loads and/or hilly conditions.
When towing at higher altitudes, engine
coolant will boil at a lower temperature
than at lower altitudes. If the engine is
turned off immediately after towing at high
altitude on steep uphill grades, the vehicle
could show signs similar to engine
overheating. To avoid this, let the engine
run, preferably on level ground, with the
transmission in P (Park) for a few minutes
before turning the engine off. If the
overheat warning comes on, seeEngine
Overheating 0270.
Parking on Hills
{Warning
To prevent serious injury or death,
always park your vehicle and trailer on a
level surface when possible.
When parking your vehicle and your trailer
on a hill: 1. Press the brake pedal, but do not shift into P (Park) yet. Turn the wheels into
the curb if facing downhill or into traffic
if facing uphill.
2. Have someone place chocks under the trailer wheels.
3. When the wheel chocks are in place, gradually release the brake pedal to
allow the chocks to absorb the load of
the trailer.
4. Reapply the brake pedal. Then apply the parking brake and shift into P (Park).
5. Release the brake pedal.
Leaving After Parking on a Hill
1. Apply and hold the brake pedal.
.Start the engine.
.Shift into a gear.
.Release the parking brake. 2. Let up on the brake pedal.
3. Drive slowly until the trailer is clear of
the chocks.
4. Stop and have someone pick up and store the chocks.
Maintenance When Trailer Towing
The vehicle needs service more often when
used to tow trailers. See Maintenance
Schedule 0331. It is especially important to
check the automatic transmission fluid,
engine oil, axle lubricant, belts, cooling
system, and brake system before and during
each trip.
Check periodically that all nuts and bolts on
the trailer hitch are tight.
Engine Cooling When Trailer Towing
The cooling system may temporarily
overheat during severe operating conditions.
See Engine Overheating 0270.
Trailer Towing
Caution
Towing a trailer improperly can damage
the vehicle and result in costly repairs
not covered by the vehicle warranty. To
(Continued)
Page 258 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
Vehicle Care 257
Vehicle Care
General Information
General Information . . . . . . . . . . . . . . . . . . . 258
California Proposition 65 Warning . . . . . 258
California Perchlorate MaterialsRequirements . . . . . . . . . . . . . . . . . . . . . . . . 258
Accessories and Modifications . . . . . . . . . 258
Vehicle Checks
Doing Your Own Service Work . . . . . . . . 259
Hood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Engine Compartment Overview . . . . . . . . 261
Engine Oil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Engine Oil Life System . . . . . . . . . . . . . . . . 264
Automatic Transmission Fluid . . . . . . . . . 265
Engine Air Filter Life System . . . . . . . . . . 265
Engine Air Cleaner/Filter . . . . . . . . . . . . . . 265
Cooling System . . . . . . . . . . . . . . . . . . . . . . . . 267
Engine Overheating . . . . . . . . . . . . . . . . . . . 270
Washer Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Brakes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Brake Fluid . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Battery - North America . . . . . . . . . . . . . . . 273
All-Wheel Drive . . . . . . . . . . . . . . . . . . . . . . . . 274
Starter Switch Check . . . . . . . . . . . . . . . . . . 274
Park Brake and P (Park) Mechanism Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Wiper Blade Replacement . . . . . . . . . . . . . 275
Windshield Replacement . . . . . . . . . . . . . . 276 Gas Strut(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Headlamp Aiming
Front Headlamp Aiming . . . . . . . . . . . . . . . 277
Bulb Replacement
Bulb Replacement . . . . . . . . . . . . . . . . . . . . . 277
Halogen Bulbs . . . . . . . . . . . . . . . . . . . . . . . . . 277
High Intensity Discharge (HID)
Lighting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
LED Lighting . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Front Turn Signal Lamps . . . . . . . . . . . . . . . 278
Taillamps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
License Plate Lamp . . . . . . . . . . . . . . . . . . . . 279
Electrical System
Electrical System Overload . . . . . . . . . . . . 280
Fuses and Circuit Breakers . . . . . . . . . . . . 280
Engine Compartment Fuse Block . . . . . . . 281
Instrument Panel Fuse Block . . . . . . . . . . 284
Rear Compartment Fuse Block . . . . . . . . . 285
Wheels and Tires
Tires . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
All-Season Tires . . . . . . . . . . . . . . . . . . . . . . . . 287
Winter Tires . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Summer Tires . . . . . . . . . . . . . . . . . . . . . . . . . 288
Tire Sidewall Labeling . . . . . . . . . . . . . . . . . 288
Tire Designations . . . . . . . . . . . . . . . . . . . . . 290
Tire Terminology and Definitions . . . . . . 291
Tire Pressure . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Tire Pressure Monitor System . . . . . . . . . 294 Tire Pressure Monitor Operation . . . . . . 295
Tire Inspection . . . . . . . . . . . . . . . . . . . . . . . . 298
Tire Rotation . . . . . . . . . . . . . . . . . . . . . . . . . . 298
When It Is Time for New Tires . . . . . . . . 299
Buying New Tires . . . . . . . . . . . . . . . . . . . . . 300
Different Size Tires and Wheels . . . . . . . 301
Uniform Tire Quality Grading . . . . . . . . . . 301
Wheel Alignment and Tire Balance . . . . 302
Wheel Replacement . . . . . . . . . . . . . . . . . . . 302
Tire Chains . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
If a Tire Goes Flat . . . . . . . . . . . . . . . . . . . . . 303
Tire Sealant and Compressor Kit . . . . . . 305
Storing the Tire Sealant and
Compressor Kit . . . . . . . . . . . . . . . . . . . . . . 310
Tire Changing . . . . . . . . . . . . . . . . . . . . . . . . . 310
Compact Spare Tire . . . . . . . . . . . . . . . . . . . . 315
Jump Starting
Jump Starting - North America . . . . . . . . 316
Towing the Vehicle
Towing the Vehicle . . . . . . . . . . . . . . . . . . . . 318
Recreational Vehicle Towing . . . . . . . . . . . 320
Appearance Care
Exterior Care . . . . . . . . . . . . . . . . . . . . . . . . . . 322
Interior Care . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
Floor Mats . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
Page 266 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
Vehicle Care 265
4. If the display changes to 100%, thesystem is reset.
If the CHANGE ENGINE OIL SOON message
comes back on when the vehicle is started,
the engine oil life system has not reset.
Repeat the procedure.
Automatic Transmission Fluid
It is not necessary to check the transmission
fluid level. A transmission fluid leak is the
only reason for fluid loss. If a leak occurs,
take the vehicle to your dealer and have it
repaired as soon as possible.
Change the fluid at the intervals listed in
Maintenance Schedule 0331, and be sure to
use the transmission fluid listed in
Recommended Fluids and Lubricants 0339.
Caution
Use of the incorrect automatic
transmission fluid may damage the
vehicle, and the damage may not be
covered by the vehicle warranty. Always
use the correct automatic transmission
fluid. See Recommended Fluids and
Lubricants 0339. There is a special procedure for checking and
changing the transmission fluid. Because this
procedure is difficult, this should be done by
your dealer.
Engine Air Filter Life System
If equipped, this feature provides the engine
air filter’s remaining life and best timing for
a change. The timing to change an engine
air filter depends on driving and
environmental conditions.
When to Change the Engine Air Filter
When the Driver Information Center (DIC)
displays a message to replace the engine air
filter at the next oil change, follow this
timing.
When the DIC displays a message to replace
the engine air filter soon, replace the engine
air filter at the earliest convenience.
The system must be reset after the engine
air filter is changed.
If the DIC displays a message to check the
engine air filter system, see your dealer.
How to Reset the Engine Air Filter Life
System
To reset:
1. Place the vehicle in P (Park).
2. Display the Air Filter Life on the DIC. See Driver Information Center (DIC) (Base and
Midlevel) 0100 or
Driver Information Center (DIC) (Uplevel)
0 105.
3. Press
pon the steering wheel to move
to the Reset/Disable display area. Select
Reset then press
V.
4. Press
Vto confirm the reset.
Engine Air Cleaner/Filter
The engine air cleaner/filter is in the engine
compartment on the passenger side of the
vehicle. See Engine Compartment Overview
0 261.
When to Inspect the Engine Air Cleaner/
Filter
If the vehicle is not equipped with the
engine air filter life system, see
Maintenance Schedule 0331.
Page 275 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
274 Vehicle Care
Vehicle Storage
{Warning
Batteries have acid that can burn you and
gas that can explode. You can be badly
hurt if you are not careful. SeeJump
Starting - North America 0316 for tips on
working around a battery without
getting hurt.
Infrequent Usage: Remove the black,
negative (−) cable from the battery to keep
the battery from running down.
Extended Storage: Remove the black,
negative (−) cable from the battery or use a
battery trickle charger.
All-Wheel Drive
Transfer Case
Under normal driving conditions, transfer
case fluid does not require maintenance
unless there is a fluid leak or unusual noise.
If required, have the transfer case serviced
by your dealer.
Starter Switch Check
{Warning
When you are doing this inspection, the
vehicle could move suddenly. If the
vehicle moves, you or others could be
injured.
1. Before starting this check, be sure there is enough room around the vehicle.
2. Apply both the parking brake and the regular brake.
Do not use the accelerator pedal, and be
ready to turn off the engine immediately
if it starts.
3. Try to start the engine in each gear. The vehicle should start only in P (Park) or
N (Neutral). If the vehicle starts in any
other position, contact your dealer for
service.
Park Brake and P (Park)
Mechanism Check
{Warning
When you are doing this check, the
vehicle could begin to move. You or
others could be injured and property
could be damaged. Make sure there is
room in front of the vehicle in case it
begins to roll. Be ready to apply the
regular brake at once should the vehicle
begin to move.
Park on a fairly steep hill, with the vehicle
facing downhill. Keeping your foot on the
regular brake, set the parking brake.
.To check the parking brake's holding
ability: With the engine running and the
transmission in N (Neutral), slowly remove
foot pressure from the regular brake
pedal. Do this until the vehicle is held by
the parking brake only.
.To check the P (Park) mechanism's holding
ability: With the engine running, shift to
P (Park). Then release the parking brake
followed by the regular brake.
Contact your dealer if service is required.
Page 283 of 377

GMC Terrain/Terrain Denali Owner Manual(GMNA-Localizing-U.S./Canada/
Mexico-14420055) - 2021 - CRC - 11/13/20
282 Vehicle Care
The vehicle may not be equipped with all of
the fuses, relays, and features shown.Fuses Usage
F01 Starter 1
F02 Starter 2
F03 Lambda sensor 1
F04 Engine control module F05 FlexFuel sensor/Aero shutter Fuses Usage
F06 Transmission control module
F07 –
F08 Engine control module
F09 Air conditioning clutch F10 Canister vent solenoid F11 Fuel system
F12 Front heated seats Fuses Usage
F13 Engine coolant pump
F14 –
F15 Lambda sensor 2
F16 Ignition coils F17 Engine control module
F18 –
F19 –
F20 DC DC converter 2 F21 Shift control
F22 Antilock brake pump
F23 Front/Rear washer pump
F24 –
F25 –
F26 –
F27 Antilock brake valves
F28 LD trailer
F29 Rear window defogger
F30 Mirror defroster F31 –
F32 Variable functions