inner workings of the mind