change signature of create_raid to avoid error about mutating node attribute, should fix issue 4 of upstream