two men find bomb trash can elizabeth nj pkg _00000322.jpg
WCBS
two men find bomb trash can elizabeth nj pkg _00000322.jpg
Now playing
01:36
Homeless man and friend found New Jersey bombs
ny bomb suspect ahmad rahami train perez tsr sot _00001005.jpg
CNN
ny bomb suspect ahmad rahami train perez tsr sot _00001005.jpg
Now playing
01:17
Sources: Bomb suspect possibly took train to NY
FBI chelsea witnesses
FBI
FBI chelsea witnesses
Now playing
01:47
FBI: Bombing witnesses have likely left US
Rahami dad
CNN
Rahami dad
Now playing
01:55
Rahami's dad: I called cops on son years ago
harinder baines rahami police shootout sot newday _00003109.jpg
CNN
harinder baines rahami police shootout sot newday _00003109.jpg
Now playing
00:52
Witness recounts bombing suspect's shootout with police
new video appears to show bombings suspect ahmad rahami vause nr _00001608.jpg
new video appears to show bombings suspect ahmad rahami vause nr _00001608.jpg
Now playing
00:43
New surveillance video appears to show suspect Rahami
WABC
Now playing
00:59
Ahmad Khan Rahami captured
Ahmad Khan Rahami captured orig mg_00000000.jpg
Ahmad Khan Rahami captured orig mg_00000000.jpg
Now playing
00:49
Did Rahami's wife leave US before bombings?
Harinder Bains spotted New York/New Jersey bombing suspect
CNN
Harinder Bains spotted New York/New Jersey bombing suspect
Now playing
02:34
Bar owner recognized bomb suspect from CNN coverage
new york explosion investigation bombing ahmad khan rahami griffin dnt lead_00001110.jpg
Abel Andrew
new york explosion investigation bombing ahmad khan rahami griffin dnt lead_00001110.jpg
Now playing
02:20
How the New York, New Jersey explosions unfolded
Ahmad Khan Rahami captured orig mg_00000000.jpg
Ahmad Khan Rahami captured orig mg_00000000.jpg
Now playing
01:58
What we know about bombing suspect Ahmad Rahami
from twitter
Now playing
01:39
FBI: Rahami arrested following shootout with police
donald trump estero rally
donald trump estero rally
Now playing
00:57
Trump: Open immigration makes recent terror possible
bombing suspect rahami in custody ambulance vo ath_00001824.jpg
THIS IMAGE HAS BEEN REMOVED
bombing suspect rahami in custody ambulance vo ath_00001824.jpg
Now playing
00:52
New video of bombing suspect in custody
Elizabeth New Jersey mayor sot_00002609.jpg
Elizabeth New Jersey mayor sot_00002609.jpg
Now playing
01:09
Mayor: Family had run-ins with law in past
Abel Andrew
Abel Andrew
Abel Andrew
Now playing
00:47
Bombing suspect wheeled into ambulance
Obama NJ NY blast
POOL
Obama NJ NY blast
Now playing
03:14
Obama: If you see something suspicious, say something
NEW YORK, NY - SEPTEMBER 18: FBI agents review the crime scene of remnants of bomb debris on 23rd St. in Manhattan's Chelsea neighborhood on September 18, 2016 in New York City. An explosion that injured 29 people that went off in a construction dumpster is being labeled an "intentional act". A second device, a pressure cooker, was found four blocks away that an early investigation found was likely also a bomb. (Photo by Stephanie Keith/Getty Images)
Stephanie Keith/Getty Images
NEW YORK, NY - SEPTEMBER 18: FBI agents review the crime scene of remnants of bomb debris on 23rd St. in Manhattan's Chelsea neighborhood on September 18, 2016 in New York City. An explosion that injured 29 people that went off in a construction dumpster is being labeled an "intentional act". A second device, a pressure cooker, was found four blocks away that an early investigation found was likely also a bomb. (Photo by Stephanie Keith/Getty Images)
Now playing
02:04
Investigators: Possible terror cell behind bombings
Firefighters arrive at the scene of an apparent explosion in Manhattan's Chelsea neighborhood, in New York, Saturday, Sept. 17, 2016. A law enforcement official tells The Associated Press that an explosion in the Chelsea neighborhood appears to have come from a construction toolbox in front of a building. The official spoke on condition of anonymity because the person wasn't authorized to speak about an ongoing investigation. Police say 26 people have sustained minor injuries in the explosion on West 23rd Street. (AP Photo/Andres Kudacki)
Andres Kudacki/AP
Firefighters arrive at the scene of an apparent explosion in Manhattan's Chelsea neighborhood, in New York, Saturday, Sept. 17, 2016. A law enforcement official tells The Associated Press that an explosion in the Chelsea neighborhood appears to have come from a construction toolbox in front of a building. The official spoke on condition of anonymity because the person wasn't authorized to speak about an ongoing investigation. Police say 26 people have sustained minor injuries in the explosion on West 23rd Street. (AP Photo/Andres Kudacki)
Now playing
01:03
Explosion rocks New York's Chelsea neighborhood
TOPSHOT - A fire truck is seen near a blocked off road near the site of an alleged bomb explosion on West 23rd Street on September 17, 2016, in New York.
An explosion in New York's upscale and bustling Chelsea neighborhood injured at least 25 people, none of them in a life-threatening condition, late Saturday, the fire department said. / AFP / Bryan R. Smith        (Photo credit should read BRYAN R. SMITH/AFP/Getty Images)
BRYAN R. SMITH/AFP/AFP/Getty Images
TOPSHOT - A fire truck is seen near a blocked off road near the site of an alleged bomb explosion on West 23rd Street on September 17, 2016, in New York. An explosion in New York's upscale and bustling Chelsea neighborhood injured at least 25 people, none of them in a life-threatening condition, late Saturday, the fire department said. / AFP / Bryan R. Smith (Photo credit should read BRYAN R. SMITH/AFP/Getty Images)
Now playing
01:22
Cuomo: It's terrorism, but not international terrorism
Explosion in Manhattan on 23rd street and 6th avenue.
Bernadette Tuazon/CNN
Explosion in Manhattan on 23rd street and 6th avenue.
Now playing
01:40
Video shows explosion outside fitness center
A device at a second location in Chelsea appears to be a pressure cooker with dark colored wiring coming out of the top center of the device. The device, mentioned earlier by police, is connected by silver duct tape to a small dark colored device attached to the outside of the pressure cooker, according to multiple local and federal law enforcement officials.
A device at a second location in Chelsea appears to be a pressure cooker with dark colored wiring coming out of the top center of the device. The device, mentioned earlier by police, is connected by silver duct tape to a small dark colored device attached to the outside of the pressure cooker, according to multiple local and federal law enforcement officials.
Now playing
02:15
Sources: Device found at second location
NEW YORK, NY - SEPTEMBER 17:  Police, firefighters and emergency workers gather at the scene of an explosion in Manhattan on September 17, 2016 in New York City. The evening explosion at 23rd street in the popular Chelsea neighborhood injured over a dozen people and is being investigated. (Photo by Spencer Platt/Getty Images)
Spencer Platt/Getty Images
NEW YORK, NY - SEPTEMBER 17: Police, firefighters and emergency workers gather at the scene of an explosion in Manhattan on September 17, 2016 in New York City. The evening explosion at 23rd street in the popular Chelsea neighborhood injured over a dozen people and is being investigated. (Photo by Spencer Platt/Getty Images)
Now playing
01:06
NYC mayor: No evidence of a terror connection
Donald Trump bomb New York_00000000.jpg
Donald Trump bomb New York_00000000.jpg
Now playing
00:47
Trump: 'A bomb went off in New York'
Now playing
01:23
Hillary Clinton addresses NYC explosion
new york explosion witness comments sot_00004505.jpg
NY1
new york explosion witness comments sot_00004505.jpg
Now playing
01:36
Witness: Everything shut down, seems like chaos

Story highlights

Pair find backpack containing pipe bombs

Wires immediately made them suspicious

CNN —  

Lee Parker needed a backpack.

He’s homeless and used a blue garbage bag to carry his belongings.

So when he and his friend saw a backpack on top of a garbage can Sunday near a train station in Elizabeth, New Jersey, they grabbed it.

“When I noticed the bag I said, ‘This is fine, I can have this for work, I can put my lunch in,’” Parker told CNN affiliate CBS New York.

As soon as they looked inside, they knew they had to call police.

“I knew what I was looking at as soon as I saw it,” his friend, Ivan White, told CNN affiliate WABC. “It wasn’t the cartoon bomb with the tick-tock tick-tock, but it had wires.”

The mess of wires and pipes turned out to be five bombs. Authorities believe they are connected to explosions the day before in New York City and Seaside, New Jersey.

Police responded to their 911 call. One of the bombs was detonated on site by an bomb squad robot.

Now, the men are being hailed as heroes in their community. A local homeless shelter set up an online fundraiser for the two men. A portion of the proceeds will benefit a coalition for the homeless.

“Hero? Nah, I won’t go that far,” Parker told WABC, adding he was “just doing the right thing.”

“I’m just glad I was able to realize what the situation was and react in such a way that, thank goodness, no one got hurt,” said White, an Elizabeth resident.

Parker has been placed in a temporary home while local homeless organizations are working to find him a permanent home. He’s hoping the attention brings some good fortune his way.