using config.py instead of constant.py