add statsample dependency