added psampling