theme recognition