preparing sync