Update name_compilation.py

Notes for improvement