code cleanup

took out some dead code