generateStyles() added