Tabs not working, About to refactor code