deleted some dead code