took out dead code