switched opts to the main init