changed '[' to '{' in request handlers