<Sub-function a>Write a summary of the sub-function and give step-by-step instructions on how to run it.