add success case for names with curly braces