https://domainbgr.blogspot.com/2023/05/match-each-function-with-its-domain.html
Match Each Function With Its Domain