working in isampling