change arg of part function