new apis and stuff for styles