Layed groundwork for tab functionality