removed unused local variable assignment