added a locker for add.