Independence and interaction of affect and cognition