removed some old code.