Passing out limb crossings
Locking and local/global variables