Changed givevers() to sync()