add options delays array and domainMoreInfo bool
reformat code