Adjusted variable names for tabs func