added a new mode and some better styles