A Theory of Mental Credit