It is natural to include both, and in total they declared three functions. Let's merge them for simplicity.