more detail and sample added.