refactored styles, customized loop. See changelog for more details