The effect of motivation and expectations on perception