Rename variables, msg -> second