small re-organization, reshape discrete sampling methods