switch arg order