A top-down analysis of high school teacher motivation