Thanks, can you add comments to the functions so it will be easier to maintain the code in the future?