add dosync
working on tests