change names of params and vars
doc