controls: apply style via a separate function
controls: only style if flag is set