added forward and backward linked list for domain management