Styling, recoded function