Vacuum energy with mass generation and Higgs bosons