rand with wei