fix styles and add titles