A boss can get the most out of workers when they let them know how much they’re appreciated, according to a new study by the online career site Glassdoor.

This flies in the face of some opinions that employees will deliver more while working in a culture of fear.

In fact, just 40 percent of respondents in the Glassdoor survey said they’re inspired to work harder when the boss is breathing down their necks and they're concerned that failure could lead to the unemployment line.

On the other hand, eight in ten workers told Glassdoor they’d be willing to put in extra effort when the boss lets them know they’re doing a good job and they’re an asset to the company.

Forty-six percent of workers say that an occasional treat like snacks, meals or thank you-notes improve morale while nearly a quarter would enjoy a social event outside the office such as a holiday party or happy hour.