Separated changes into a separate function