sampling logic 318897