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