this should synchrnoize properly