adding lock around determining block owner