reworked styling mechanism, functionality