created two templates: for params and for methods