changed opts object