Comparative psychologist study

Comparative psychologist study whether a young monkey will prefer to spend time with a pretend monkey made of wire that also provides milk or a pretend monkey that is covered with cloth but provides no milk I need to know the independent variable and the dependent variable I believe the dependent variable is the time the young monkey spends with the two different fake monkeys. I think the independent variable is the young monkey since he is being affected. Is this ok?