styling and modified gen