edited allowing to render methods with number of parameters between required params and all params