erase code

unused code is deleted.