random mem works