use symbolic constants for '{' and '}'