modified styles, also reverted from orig code