Which of the following is not a power of congress?

A: ratifying presidential appointments

B: advising the president on a peace treaty?

C: commanding the armed forces

D: declaring war