added method to overwrite styles
fixed typo