adding support for styled panes