update styles and add a nested example