virial calculation part is added