changed getStyles Methods