adding statsample