Padded the code to be readable by mortals and to highlight the flow of logic