distribution vesrion update + removing tmp code