added 2d jitter case