updated avc.py but not done