added secured random