refactor styling