Adding function fred --- Entering scope --- Entering scope Adding object i --- Leaving scope containing --- Leaving scope containing