moved rand