Change syntax slightly so that hopefully loop will run