forgot to remove deprecated code