A natural question then is: for a given space are these functions the same? ... Serre theory studies group actions on trees, unifying two combinatorial constructions from group theory, namely free product with amalgamation and the HNN extension, which