use k.title() when compared