add theme pattern