Added code to track keys limb length