removed old code for editing styles