change variable name to avoid conflicts with C++