Modeling motivations and emotions as a basis for intelligent behavior | Synapse