change call pattern according to lang and input params