adding deprecate warning
0.2.1 adds deprecation warning