added LdG.py