If you work in Miami, congratulations! According to a recent survey by online employment advice forum CareerBliss, you earn a living in the happiest American city in which to work.

The list, based on postings by employees, took into account factors such as job resources, company culture and work environment.

The news for New Haven, CT wasn’t as good — it ranked as the unhappiest city in which to work. Cities that made the unhappy list were rated low by employees due to a lack of growth opportunity and unimpressive reward systems and support.

Heidi Golledge, chief executive officer and co-founder of CareerBliss, said both lists have “important information for not only companies, but also city governments, job-seekers and people looking to transition to a new area.”

Here’s the top 10 on both ends of the spectrum.

HAPPIEST

  1. Miami, FL
  2. Worcester, MA
  3. Oklahoma City, OK
  4. San Jose, CA
  5. Oxnard, CA
  6. Wichita, KS
  7. Killeen, TX
  8. Syracuse, NY
  9. San Antonio, TX
  10. Provo, UT

UNHAPPIEST

  1. New Haven, CT
  2. Dayton, OH
  3. Milwaukee, WI
  4. Tulsa, OK
  5. Albuquerque, NM
  6. Fort Collins, CO
  7. Buffalo, NY
  8. Greensboro, NC
  9. Austin, TX
  10. Cincinnati, OH

[Live Science]