delete deprecated code