Adding Tabs functionality. Still has errors.