removed dead code lines.