adjusting styles and cname