adding samplingPoiPino function