pruned dead code