Temporary tab control code