Adding sampling statement