adding complex cors