adding sync.py