Adding function main
--- Entering scope
--- Entering scope
--- Leaving scope containing
--- Leaving scope containing
