   Averroes' contribution to the philosophy of mind lies primarily in his attempt to refine and redefine the activities of the internal senses, and to determine the nature of the hylic, or material, intellect. He discusses the role of the internal senses primarily in his De anima commentaries as well as in his epitomes on the senses and memory. His work builds on Aristotle and the psychological writings of his Andalusian predecessor Ibn Bâjjah (d. 1138), known to the West as  Avempace.[47] Averroes' work also incorporates a response and rebuke to Avicenna, rejecting, among other things, his elevation of wahm, estimation, to the status of an additional internal sense. For Averroes, imagination and memory can do the work of Avicenna's estimative faculty.