Removed dead code and fixed DIV.