distmet code change