For a variable to be considered a mediator, it must meet the following requirements
a) the independent variable significantly affects the mediator,
b) the mediator significantly affects the dependent variable when controlling for the independent variable, and
c) the effect of the independent variable on the dependent variable is significantly reduced or eliminated when the mediator is included in the analysis.