simpler sync and example