It was while working as a consultant for NASA that Lovelock developed the Gaia Hypothesis , for which he is most widely known .
Lovelock developed his Gaia ideas after working for NASA on detecting life on Mars .