removing rand