add in nesting/file by reference workaround