finalizing the changes