-Schools have different functions to be carried out.
-Schools have different functions to carry out.

Which is correct here?
What's the deference?
Are both of them correct?