Race calc and connection string

Race calculation is partly done, connection string is hidden