restructure styles