support for default optimization type added