 The practice of "dhyana" makes it possible to keep access to the senses in a mindful way, avoiding primary responses to the sense-impressions.The Suttapitaka and the Agamas describe four stages of "rupa jhāna".