moved parameter definition to proper place