added lock aroud cell moification