removing previous params and code