Behavior is determined by the interaction of drive and habit strength.