use ++ in sample