taking an oath is for solemnizing an agreement.