put all style functionality to plugin