separate style from view