Rename "cur" to "val"