added option group writer