setting styles and types