added unique filter and titlecase