moved styles to public