 
 
     view: () ->
-        ctrl = @tabCtrl
+        console.log("type of vfform:", typeof @vfform)
+        ctrl = @tabCtrl # Need to fix this so that it goes back within the controller or model @___@
         tabOptions = {
             flavor: 'bs/nav-tabs'
             tabs: [

        
        @table ?= new Table()
        @data ?= new GeneData()
        @vfform = new GeneForm('Virulence Factor', 'vf')
        @amrform = new GeneForm('Antimicrobial Resistance', 'amr')
        @sidebar ?= new Sidebar()

        return

                ])
            ])

        renderSubmit = (ctrl) =>
            return m('div', {class: 'tab-content'}, [
                m('div', {class: 'tab-pane active', id: 'gene-search-querygenes'}, [
                    m('div', {class: 'panel-group genes-search', id: 'accordian'}, [
