Is that good practice if we change value of the input param of the function.