pruned a dead method