replace class named variable with better instance name