killing legacy and obsolete