deleting already deprecated code