changes some codes for experiments