THE SUBJUNCTIVE WITH IMPERSONAL EXPRESSIONS
Yet another way to use the subjunctive is to use impersonal expressions in your main clause. Impersonal expressions are generic expressions which contain no real subject. Hence the name "impersonal". The only subject covered by an impersonal expression is "it", as in: It is good that ., it is bad that. . . it is horrible that. . . it is necessary that. . . etc, etc. Impersonal expressions are usually not directed at one particular subject, but can be equally applied to everyone.
Your formula should look something like this:
Impersonal expression + que + subjunctive
Some frequently used impersonal expressions
:Es bueno  it is good
Es malo
 it is badEs horrible
 it is horribleEs terrible
 it is terribleEs maravilloso
 it is marvelousEs una tragedia
 it is a tragedyEs una lástima
 it is a shameEs mejor
 it is best, betterEs peor
 it is worseEs interesante
 it is interestingEs importante
 it is importantEs necesario
 it is necessary
Examples:
Es bueno
que ustedes hayan asistido a clase hoy.Es malo que unos estudiantes hayan faltado a clase hoy.
Es horrible que Elián tenga que regresar a Cuba.
Es maravilloso que hayas sacado una `A` en tu clase.
Es una lástima que Javier no pueda venir a mi fiesta esta noche.
Es mejor que él se quede en casa porque está enfermo.
Es peor que María vaya a su casa para traerle sopa de pollo.
Es interesante que nadie en clase mire el programa `La femme Nikita`.
Es importante que ustedes estudien antes del examen.
Es necesario que ustedes vengan a verme para repasar por el examen.