getStyleMethod added