ECOM-248 re-factoring about descriptor code. added new method in data.py