implemented tabs directives