added basic sync