Adding function x --- Entering scope --- Entering scope Adding object y --- Leaving scope containing --- Leaving scope containing