got rid of dead code