Fixing a missing curly bracket