Random cod samples