Add random function and expand vocabulary