removed unused block of code.