exported yet another sampling method