changed from domain length to domain and DOMAIN file