added more sync functions