first nontrivial second tab. far from complete
some clean up
Tab is implemented!!!