added locking support