coinwidget optimizations