importance of demand function