random layers example