testing
added lock and unlock
added lock and unlock