added lock acquire