added method in normalize.py