remove obselete code