make get_style public