update to styles and funct