For much of the time he had a triple-gig schedule , holding down a full-time church position while teaching in two different cities on his days off , at Curtis Institute of Music in Philadelphia from 1972 to 2003 and at the Juilliard School in Manhattan from 1987 to 2004 .