Added code for tabs, but tabs don't work yet