applying changes