added handling for very long variable names