working of Tab