adds yet another deprecation warning