treat patients with a variety of "diseases of the mind". Ahmed ibn Sahl al-Balkhi (850–934) was among the first, in this tradition, to discuss disorders related to both the body and the mind. Al-Balkhi recognized that the body and the soul can be healthy or sick, or "balanced or imbalanced". He wrote that imbalance of the body can result in fever, headaches and other bodily illnesses, while imbalance of the soul can result in anger, anxiety, sadness and other nafs-related symptoms. Avicenna, similarly, did early work in the treatment of nafs-related illnesses, and developed a system for associating changes in the mind with inner feelings. Avicenna also described phenomena we now recognize as neuropsychiatric conditions, including hallucination, mania, nightmare, melancholia, dementia, epilepsy and tremor. Ancient and medieval thinkers who discussed issues related to psychology included: Thales developed an elaborate theory of what they termed the psuchẽ (psyche) (from which the first half of "psychology" is derived), as well as other "psychological" terms used today. Socrates of Athens (c. 470 – 399 BCE). Emphasized virtue ethics. In epistemology, understood dialectic to be central to the pursuit of truth. As early as the 4th century BC, the Greek physician Hippocrates theorized that mental disorders had physical rather than supernatural causes. Plato's tripartite theory of the soul, Chariot Allegory and concepts such as eros defined the subsequent Western Philosophy views of the psyche and anticipated modern psychological proposals. Alcmaeon theorizes the brain in the seat of the mind. In 387 BCE, Plato suggested that the brain is where mental processes take place. Boethius and his work represented an imaginary psychological dialogue between himself and philosophy, with philosophy personified as a woman, arguing that despite the apparent inequality of the world. In the 6th century AD, Lin Xie carried out an early psychological analysis experiment. It has been cited that this was the first psychology experiment. Ali ibn Sahl Rabban al-Tabari, who developed al-‘ilaj al-nafs (sometimes translated as "psychotherapy"), Padmasambhava was the 8th-century medicine Buddha of Tibet, called from the then Buddhist India to tame the Tibetans, and was instrumental in developing Tibetan psychiatric medicine. Patanjali founded Yoga and the method of psychological balance and resilience through breathing exercises and inner peace. Abu al-Qasim al-Zahrawi (Abulcasis), described head surgery; Ibn Tufail, who anticipated the tabula rasa argument and nature versus nurture debate. William of Ockham who has lot of interests in writing about logic