Legislation should foster renewable energies