task code for mind reading