add style switching