Using debug
tweaking syncer
Refactoring