added BASE_DOMAIN CONSTANT. test passing