use locks if exists