delete obselete code