renamed params to parameters