Making the most of the sun