delete some old code