added getStyle
added config