George Harrison first met Joe Massot while the Beatles were filming "Help!" in early 1965. He agreed to write the musical score for Massot's film "Wonderwall" in October 1967, after the Bee Gees had become unavailable. It was Harrison's first formal music project outside the Beatles and coincided with his continued immersion in Indian classical music. Since 1966, this association with India had given Harrison a distinct musical identity beside the band's primary songwriters, John Lennon and Paul McCartney. While he had minimal interest in the Beatles' main projects during 1967 – the album "Sgt. Pepper's Lonely Hearts Club Band" and their television film "Magical Mystery Tour" – Harrison led the group in terms of their shared philosophical direction, as his bandmates followed him in embracing Transcendental Meditation under the guidance of Maharishi Mahesh Yogi.