adding styles and directives