Which is the main responsibility of the secretary of state?