setting opts