modified to use the tabs directive