used config.styles instead of rolling my own array storage