New ideas on what makes a planet habitable