Adding sampling