added enhanced tab functionality