synced example code