applying styles