hide code fragment that generates 'local variable not used' warning