The nature of thoughts, desires and impulses