working on sync