removed unused dead code.
scrutinizer code duplication oof cos of false positives.