randomize code snippets