adding deprecation message