Psychological factors in addiction