added tabbed interface but effectively broke everything else