While "Charvaka" school accepted just one, the valid means of epistemology in other schools of Hinduism ranged between 2 and 6. Since none of the means of knowing were found to be worthy to establish the invariable connection between middle term and predicate, Charvakas concluded that the inference could not be used to ascertain metaphysical truths. Thus, to Charvakas, the step which the mind takes from the knowledge of something to infer the knowledge of something else could be accounted for by its being based on a former perception or by its being in error. Cases where inference was justified by the result were seen only to be mere coincidences. Therefore, Charvakas denied metaphysical concepts like reincarnation, an extracorporeal soul, the efficacy of religious rites, other worlds (heaven and hell), fate and accumulation of merit or demerit through the performance of certain actions. Charvakas also rejected the use of supernatural causes to describe natural phenomena. To them all natural phenomena was produced spontaneously from the inherent nature of things. The Charvaka did not believe in karma, rebirth or an afterlife. To them, all attributes that represented a person, such as thinness, fatness etc., resided in the body. The "Sarvasiddhanta Samgraha" states the Charvaka position as follows, Charvaka believed that there was nothing wrong with sensual pleasure. Since it is impossible to have pleasure without pain, Charvaka thought that wisdom lay in enjoying pleasure and avoiding pain as far as possible. Unlike many of the Indian philosophies of the time, Charvaka did not believe in austerities or rejecting pleasure out of fear of pain and held such reasoning to be foolish. The "Sarvasiddhanta Samgraha" states the Charvaka position on pleasure and hedonism as follows, Charvakas rejected many of the standard religious conceptions of Hindus, Buddhists, Jains and Ajivakas, such as an afterlife, reincarnation, samsara, karma and religious rites. They were critical of the Vedas, as well as Buddhist scriptures. The "Sarvadarśanasaṃgraha" with commentaries by Madhavacharya describes the Charvakas as critical of the Vedas, materialists without morals and ethics. To Charvakas, the text states, the Vedas suffered from several faults – errors in transmission across generations, untruth, self-contradiction and tautology.