add key to random

add key to random