changing class style