add styles and cname