imporved domains.py
improved domains