pass themeIndex variable instead of hard-coded value