setting as params some vars