Motivation is influenced by cultural and situational factors. There are three elements of work motivation: direction of behavior, level of effort, and level of persistence when facing obstacles. Early motivation theories include Maslow's hierarchy of needs, McGregor's Theory X and Y, and Herzberg's motivation-hygiene theory. Motivation can be intrinsic or extrinsic. Goal setting theory proposes that goals direct behavior when people are aware of goals and accept them. Reinforcement theory states that behaviors are strengthened by their consequences. SAS Institute motivates employees through equitable financial rewards, a supportive work environment, and benefits beyond compensation.