changes: corrected example sampling