The purpose of meditation is inner happiness, inner peace. When all senses become quiet and you experience bliss, that is the attainment.
If thoughts arise, let them come and go. Watch the source of your thoughts. Meditate with the awareness that you are a witness to your thoughts. You are not your thoughts.
from the book: Meditate
Happiness Lies Within You