updated styles and added hierarchy