use 'RND(x)' to generate a random integer between 0 and x-1