added tab location option