added support for styles