Mental hardware and software