swap name for mode