Refactor to use score instead of specifically connections