$tabs will never be empty here