added new methods in data.py which should be exposed to __all__