LOS ANGELES (CBSLA) — Walking while talking on the phone or listening to music via earbuds or headphones can now earn pedestrians a $100 fine in Montclair.

The small bedroom community about 30 miles east of Los Angeles banned distracted walking while crossing an intersection, an ordinance that went into effect this year.

READ MORE: Villanueva 'Disappointed' After DA Reportedly Declines To Prosecute Alleged Hate Incident

According to the ordinance, pedestrians cannot “cross a street or highway while engaged in a phone call, viewing a mobile electronic device or with both ears covered or obstructed by personal audio equipment” like over-the-ear headphones and ear buds.

READ MORE: Volunteers Looking To Help As Shelter For Unaccompanied Migrant Children Set To Open In Long Beach

There are, however, exceptions for 911 calls, medically-prescribed hearing aids and emergency first responders who are on duty.

City officials say pedestrians now account for 15 percent of all vehicle-related fatalities.

MORE NEWS: Healthcare Workers Gather For Solidarity Vigil Against AAPI Hate

A first violation costs $100, and doubles if caught again within a year. If still within that same 12-month period, subsequent violations can cost as much as $500 each time.