Rename variable, nest code