optimized the synchronization method.

also added a screenshot