Thanks for your replys. I agree with your points. I notice that you implanted the colvar variables for difference of two distance. I want to use the colvar for the difference of two coordination numbers for metadyanmics. Can you be so kind to implant it? Thanks. Limin