changes for calculation of COP, missing : nearest city