COLORADO SPRINGS, Colo. (CBS4)– It seems the negative reinforcement measures that Colorado Parks and Wildlife officers used to keep a bear away from a popular restaurant’s dumpsters– is working.

The bear that had been casing the dumpsters behind the landmark Colorado Springs restaurant Edelweiss returned for a third time.

READ MORE: Colorado School Districts In Need Of Substitute Teachers Hope Changes To Licensing Requirements Will Help

But this time the bear didn’t like what was waiting for him– wooden planks filled with nails pointing upwards.

Wildlife officers said they’re hoping the negative reinforcement will deter the bear from coming back. They’re trying to avoid trapping the bear or taking even more drastic measures.

The restaurant placed surveillance cameras outside the building and pointed them at the dumpsters in hopes of catching the vandals that had been rifling through the garbage.

What they discovered was that it wasn’t vandals, but a bear that wheeled away the dumpsters and dug through mounds of uneaten food. Then the bear came back for more.

READ MORE: Voting Rights Leaders From Out Of State Come To Denver For Discussion About How To Protect Elections

It happened twice in one week.

“We figure that with a big of wrestling it flipped it over and had itself a dinner and it was good enough it came back the next night and did it again,” said Edelweiss owner Dieter Schnakenberg.

That’s when wildlife officers were called in to help save the bear and put down the nail boards.

Late Thursday night the bear returned, walked over the trash cans and put one paw on the spike strip, backed down and walked away.

Wildlife officers said the spike strip won’t injure the bear too badly and that beats the alternative measures.

MORE NEWS: State Senator Calls For Audit After Out-Of-State Company Gets Big Colorado Construction Projects

They believe the biggest obstacle to keeping bears in the woods is people see the bears on video, think they’re cute and don’t report them. That means the bears have a chance to get used to people and their food and that’s when the situation can be dangerous for both humans and the bear.