use a param instead of reference to element name