extract styles, too