changes from reveal-sync