remove abandoned code