added opts extension