tried harder to conform to hadley's style