adding missing brackets